<template>
    <div class="register">
        <div class="register-body">
            <div class="wrap">
                <div class="logo">
                    <a href="/">
                        <img src="/imgs/logo-mi.png">
                    </a>
                </div>
                <div class="logo-title">注册百世利账号</div>
                <div class="register-form">
                    <div class="title">手机号码</div>
                    <div class="input" >
                        <input type="text" placeholder="请输入你的手机号码">
                    </div>
                    <div class="title">密码</div>
                    <div class="input">
                        <input type="password" placeholder="请输入6-20位非中文字符密码">
                    </div>
                    <div class="title">确认密码</div>
                    <div class="input">
                        <input type="password" placeholder="请输入6-20位非中文字符密码">
                    </div>
                    <div class="error">
                        请输入手机号码
                    </div>
                    <div class="btn-box">
                        <a href="javascript:;" class="btn">注册并登录</a>
                    </div>
                </div>
                <div class="privacy-box">
                    已阅读并同意：百世利<span class="agree">用户协议</span>和<span class="privacy">隐私政策</span>
                </div>
            </div>
        </div>
        <login-footer></login-footer>
    </div>
</template>

<script>
    import LoginFooter from "../components/LoginFooter";
    export default {
        name: "register",
        components: {LoginFooter}
    }
</script>

<style scoped lang="scss">
    .register{
        background-color: #F9F9F9;
        min-height:100%;
        width: 100%;
        height: auto;

        .register-body{
            padding-top: 20px;
            .wrap{
                width: 854px;
                margin: 0 auto;
                background-color: #FFFFFF;
                text-align: center;
                .logo{
                    padding-bottom: 40px;
                    a{
                        display: inline-block;
                        height: 48px;
                        width: 48px;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
                .logo-title{
                    font-size: 30px;
                    height: 45px;
                    line-height: 45px;
                }
                .register-form{
                    display: inline-block;
                    padding: 30px 0;
                    .input{
                        width: 350px;
                        height: 50px;
                        border: 1px solid #e5e5e5;
                        margin-bottom: 20px;
                        input{
                            box-sizing: border-box;
                            width: 348px;
                            height: 50px;
                            outline: none;
                            border: none;
                            font-size: 14px;
                            padding-left: 10px;
                        }
                        &:hover{
                            border: 1px solid #FF6600;
                            transition: all 0.3s;
                            box-shadow:0px 2px 12px 0px rgba(0, 0, 0, 0.1);
                        }
                        &:last-child{
                            margin-bottom: 0px;
                        }
                    }
                    .title{
                        text-align: left;
                        font-size: 14px;
                        padding-bottom: 5px;
                    }
                    .error{
                        height: 40px;
                        line-height: 40px;
                        font-size: 14px;
                        color: #ff0000;
                        margin-top: -10px;
                        text-align: left;
                    }
                    .btn-box{
                        .btn{
                            width: 100%;
                            height: 50px;
                            line-height: 50px;
                            font-size: 16px;
                        }
                    }
                }
                .privacy-box{
                    padding: 15px 0;
                    font-size: 14px;
                    height: 50px;
                    line-height: 50px;
                    .agree{
                        font-weight: bold;
                        cursor: pointer;
                    }
                    .privacy{
                        font-weight: bold;
                        cursor: pointer;
                    }
                }
            }

        }

    }
</style>